//
//  CWQButtonWithBadge.h
//  MobileClinicalOnline
//
//  Created by 陈武琦 on 16/8/8.
//  Copyright © 2016年 陈武琦. All rights reserved.
//

typedef NS_ENUM(NSInteger, CWQ_NoticeButtonType) {

    //消息数量提示按钮
    CWQ_NoticeButtonWithNumberType = 0,
    //红点提示按钮
    CWQ_NoticeButtonWithRedDotType = 1,

};


#import <UIKit/UIKit.h>

@interface CWQ_NoticeButton : UIView
@property (strong, nonatomic) UIButton *btn;
@property (strong, nonatomic) UILabel *badge;
@property (assign, nonatomic) CWQ_NoticeButtonType type;
@property(nonatomic, copy) void (^clickBlock)();

- (instancetype)initWithFrame:(CGRect)frame image:(NSString *)image type:(CWQ_NoticeButtonType)type
;


@end
